package com.yf.course.modules.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yf.course.modules.course.entity.CourseDepart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
* 课程部门Mapper
* </p>
*
* @author 聪明笨狗
* @since 2021-09-22 10:03
*/
public interface CourseDepartMapper extends BaseMapper<CourseDepart> {

    /**
     * 根据课程查找用户ID列表
     * @param courseId
     * @param scope
     * @return
     */
    List<String> listUserIdByCourse(@Param("courseId") String courseId, @Param("scope") Integer scope);
}
